import enUS from 'ant-design-vue/es/locale-provider/en_US'
import { commonEn } from '@/locales/modules/common/common'
import { menuEn } from '@/locales/modules/common/menu'
import { buttonEn } from '@/locales/modules/common/button'
import { securityConfigurationEn } from '@/locales/modules/authenticationCenter/securityConfiguration'
import { menuConfigEn } from '@/locales/modules/authenticationCenter/menuConfig'
import { roleEn } from '@/locales/modules/authenticationCenter/role'
import { userGroupEn } from '@/locales/modules/authenticationCenter/userGroup'
import { organizationEn } from '@/locales/modules/authenticationCenter/organization'

import { companyEn } from '@/locales/modules/platformManagement/company'
import { appEn } from '@/locales/modules/platformManagement/app'
import { logEn } from '@/locales/modules/platformManagement/log'

import { udaEn } from '@/locales/modules/technology/uda'
import { serialEn } from '@/locales/modules/technology/serial'
import { dictEn } from '@/locales/modules/technology/dict'
import { apiCodeEn } from '@/locales/modules/common/apiCode';

import { appEn as messageCenterAppEn } from '@/locales/modules/messageCenter/app';
import { edgeConfigEn } from '@/locales/modules/edgeManagement/edgeConfig'

export default {
  antLocale: enUS,
  common: commonEn,
  menu: menuEn,
  button: buttonEn,
  apiMsg: apiCodeEn,
  modules: {
    common: {
      externalApp: 'External Application',
      internalApp: 'Internal Application',
      busiApp: 'Business Application',
      basicService: 'Basic Service',
      sysService: 'System service',
      wechatWork: 'Wechat Work',
      dingding: 'DingDing',
      sysMsg: 'System message',
      mail: 'Mail',
      DevOperAndcenter: 'Development operation and maintenance center',
      factoryInfo: 'Factory/Workshop/Production line/Station',
      materialInfo: 'Material/BOM/Pack/UOM',
      warehouseInfo: 'Warehouse/Reservoir area/Storage location/Strategy',
      synergyInfo: 'Client、Supplier、Client calendar',
      authenticationCenterInfo: 'Unique permission authentication',
      platformManagementInfo: 'APP management/Operating record',
      // technologyInfo: 'Serial/Prin template/Data dictionary',
      technologyInfo: 'Serial/Data dictionary',
      messageInfo: 'Unified Message Push',
      industrialBigData: 'Industrial Big Data management',
      dataModeling: 'Data modeling and analysis',
      edgeManagement: 'Edge Management'
    },

    menu: {
      index: 'Home',
      settings: 'Enterprise Info',
      baseSettings: 'Basic Info',
      authSettings: 'Login Method',
      msgSettings: 'Notification Setting',
      sysInfo: 'System Info',
      companyWxConfig: 'Wechat Work Setting',
      mailConfig: 'Mail Setting',
      applications: 'App Manage',
      applicationItem: 'App Info',
      applicationList: 'App List',
      baseDataConfig: 'Platform Basic Data Setting',
      messageConfig: 'Notification Setting',
      appSysInfo: 'System Info',
      appCompanyWxConfig: 'Wechat Work Setting',
      appMailConfig: 'Mail Setting',
      users: 'Platform Manager',
      user: 'User Info',
      usersList: 'Platform Manager',
      account: 'User Center',
      accountBase: 'Basic Info',
      accountSecurity: 'Security Setting',
      accountShiftConfig: 'Shift Config',
      changePw: 'Change password',
      config: 'Config',
      menu: 'Menu',
      menuConfig: 'Menu config',
      roleConfig: 'Role config',
      role: 'Role',
      roleDetail: 'Role detail',
      userGroup: 'User group'
    },
    user: {
      newUser: 'New user',
      loginByAccount: 'Login by account',
      logoutInfo: 'Are you sure to logout?',
      waitForCard: 'Wait for card',
      invalidArea: 'Invalid area',
      otherLoginMethod: 'Other login methods',
      personName: 'Name',
      jobNumber: 'Job number',
      phoneNumber: 'Phone number',
      position: 'Position',
      gender: 'Gender',
      email: 'E-mail',
      dept: 'Department',
      superiorDept: 'Superior department',
      hidNo: 'HID number',
      oldPass: 'Old password',
      newPass: 'New password',
      confirmPass: 'Confirm password',
      male: 'Male',
      female: 'Female',
      onJob: 'On job',
      resigned: 'Resigned',
      passwordLength: 'Password length',
      passwordLengthErr: 'Password length error'
    }
  },

  message: {
    warning: {
      unbind: 'Are you sure to unbind this {name}?',
      delete: 'Are you sure to delete this {name}?',
      deleteExact: 'Are you sure to delete this【{name}】?',
      copy: 'Are you sure to copy this {name}?',
      batchDel: 'Are you sure to delete these {name}s?',
      batchUnbind: 'Are you sure to unbind these {name}s?',
      unsaved: 'Information not yet saved will be lost. Do you want to continue？',
    },
    info: {
      pleaseInputKeywords: 'Please enter key words',
    }
  },
  authenticationCenter: {
    securityConfiguration: securityConfigurationEn,
    menu: menuConfigEn,
    role: roleEn,
    userGroup: userGroupEn,
    org: organizationEn
  },
  platformManagement: {
    company: companyEn,
    app: appEn,
    log: logEn
  },
  technology: {
    uda: udaEn,
    serial: serialEn,
    dict: dictEn
  },
  messageCenter: {
    app: messageCenterAppEn
  },
  edgeManagement: {
    edgeConfig: edgeConfigEn
  }
}
